public class Worker2 extends Employee2{
    public Worker2(String name, int workday, double persal, double param) {
        super(name, workday, persal, param);
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }
    @Override
    public void printSal(){
        super.printSal();
    }
}
